ComponentOne ASP.NET MVC Controls
Bind(String,String,IEnumerable<T>) Method

C1.Web.Mvc.Fluent Namespace > FlexChartCoreBuilder<T,TControl,TBuilder> Class > Bind Method : Bind(String,String,IEnumerable<T>) Method
Sets the name of the x data field.
Sets the name of the value data field.
The data source
Bind data with specified x data field name and value property of the data source.
Syntax
'Declaration
 
Public Overloads Function Bind( _
   ByVal xDataFieldName As String, _
   ByVal valueProperty As String, _
   ByVal sourceCollection As IEnumerable(Of T) _
) As TBuilder

Parameters

xDataFieldName
Sets the name of the x data field.
valueProperty
Sets the name of the value data field.
sourceCollection
The data source

Return Value

Current builder
See Also

Reference

FlexChartCoreBuilder<T,TControl,TBuilder> Class
FlexChartCoreBuilder<T,TControl,TBuilder> Members
Overload List